import React, { FC, createContext } from 'react';
export type LoadingTypes = {
 /**当前状态 */
 status:'Loading'|'complete'|'nodata';
 /**加载中文字 */
 loadingText?:string;
 /**加载完成文字 */
 completeText?:string;
 /**没有数据 */
 noDataText?:string;
}
export const LoadingContext = createContext<LoadingTypes>(undefined)